@import '~antd/es/style/themes/default.less';

html,
body,
#root {
  position: relative;
  height: 100%;
  width: 100%;
  min-height: 600px;
  min-width: 1280px;
}

.colorWeak {
  filter: invert(80%);
}

.ant-layout {
  min-height: 100vh;
}

canvas {
  display: block;
}

body {
  padding: 0;
  margin: 0;
  border: 0;
  box-sizing: border-box;
  background-color: #f0f0f0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

ul,
ol {
  list-style: none;
}

@media (max-width: @screen-xs) {
  .ant-table {
    width: 100%;
    overflow-x: auto;
    &-thead > tr,
    &-tbody > tr {
      > th,
      > td {
        white-space: pre;
        > span {
          display: block;
        }
      }
    }
  }
}

// 兼容IE11
@media screen and(-ms-high-contrast: active), (-ms-high-contrast: none) {
  body .ant-design-pro > .ant-layout {
    min-height: 100vh;
  }
}

.ant-input{
  border-color: #adadad !important;
}
.ant-input-number{
  border-color: #adadad !important;
}

.ant-select-selector{
  border-color: #adadad !important;
}

.ant-picker{
  border-color: #adadad !important;
}

.ant-btn{
  border-color: #adadad !important;
}

*::-webkit-scrollbar {
  width: 3px;
  height: 8px;
  background-color: white;
}

*::-webkit-scrollbar-thumb {
  width: 2px;
  background-color: #aaa;
}
